package org.wii.auth.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import java.io.Serializable;

/**
 * Token配置类
 * @author tanghong on 2022/12/26
 */
@Data
@ConfigurationProperties(prefix = "iwii.token.config")
public class IWiiTokenProperties implements Serializable {
    /**Token名称*/
    private String tokenName="iwii-token";
    /**Token过期时间(秒)*/
    private long timeout=30 * 24 * 60 * 60;
    /**JWT密钥*/
    private String jwtKey ="iwii";
}
